package com.promis.crypto.digest;

public class SHA1Digest extends BaseDigest {

	private final static String DIGEST_ALGORITHM = "SHA-1";
	
	private static SHA1Digest digest;
	
	public SHA1Digest() {
		super(DIGEST_ALGORITHM);
	}
	
	public synchronized static SHA1Digest getInstance() {
		if (digest == null) {
			digest = new SHA1Digest();
		}
		return digest;
	}
}
